<!--
 * @Author: chenxuan
 * @Date: 2022-05-18 14:40:08
 * @LastEditTime: 2022-06-08 12:38:17
 * @LastEditors: chenxuan
-->
<template>
    <div class="formContainer" ref="formContainer">
        <slot name="form"></slot>
    </div>
</template>
<script>
    import {mapGetters,mapState,mapActions,mapMutations} from 'vuex'
    export default{
        name:'formContainer',
        created:function(){
            this.$nextTick(()=>{
                this.$store.commit('getH1',this.$refs.formContainer.offsetHeight)
            })
        }
    }
</script>
